﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PalmBeach.aspx.cs" Inherits="DrawMap.PalmBeach" %>

<%@ Register TagPrefix="mv" Src="~/MapViewer_Control.ascx" TagName="MapViewer" %>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Untitled Page</title>

    <style type="text/css">
        img 
        {
            border:0;
        }
        div.ToolTip
        {
            font-family:Tahoma, Sans-Serif;
            font-size:x-small;
            border:solid, 1, black;
        }
        .scaletext
        {
            font-family:Tahoma, Sans-Serif;
            font-size:x-small;
        }
        .diagnostics
        {
            font-family:Tahoma, Sans-Serif;
            font-size:x-small;
        }

    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <label>APN:</label>&nbsp;
        <asp:TextBox runat="server" ID="apn" Width="11" style="width:8em;" />&nbsp;&nbsp;
        <asp:Button runat="server" ID="doit" Text="Get" onclick="doit_Click" />
        <hr />
    </div>
    <div>
        <label>No.:</label>
        <asp:TextBox runat="server" ID="Situs" Width="5" style="width:5em;"  ></asp:TextBox>
        &nbsp;
        <label>Street:</label>
        <asp:TextBox runat="server" ID="Street" Width="35" style="width:10em;"  ></asp:TextBox>
        &nbsp;
        <label>Type:</label>
        <asp:TextBox runat="server" ID="Type" Width="2" style="width:4em;"  ></asp:TextBox>
        &nbsp;
        <label>Community:</label>
        <asp:TextBox runat="server" ID="Community" Width="4" style="width:5em;"  ></asp:TextBox>
        &nbsp;
        <asp:Button runat="server" ID="doit_Address" Text="Get" 
            onclick="doit_Address_Click" />
        <hr />
    </div>
    <div>
        <mv:MapViewer ID="ViewMapControl" runat="server" DisplaySize="500,500" 
            GenerateClickMap="True" />

        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:PalmBeachGIS %>" 
            SelectCommand="SELECT [PCN], [geom] FROM [parcels]">
        </asp:SqlDataSource>

        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:PalmBeachGIS %>" 
            SelectCommand="SELECT [Name], [geom] FROM [Centerline]">
        </asp:SqlDataSource>

        <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
            ConnectionString="<%$ ConnectionStrings:PalmBeachGIS %>" 
            SelectCommand="SELECT [street_nam], [geom] FROM [Situs]">
        </asp:SqlDataSource>

    </div>
    </form>
    </body>
</html>
